let dateSlice = value => {
    if (!value) return ''
    value = value.toString()
    return value.slice(0, 10)
}

export { dateSlice }